<div class="mod-alarm create-alarm-tpl" ng-form="ng-form" ng-class="{'need-valid':needValid.valid}" role="form" name="createTplFrom"><loading ng-if="isLoading||alarmTemplateIns.loadingIns.isLoading"></loading><ng-include src="'index/tpl/tplAlarmTemplate/tplAlarmTemplateEdit.html'"></ng-include><div class="com-bottom-option"><span class="com-bottom-option-con"><a class="ui-btn ui-btn-link ui-btn-sm ui-btn-bright" ui-sref="alarm.templates">返回</a><button class="ui-btn ui-btn-md ui-btn-bright" ng-disabled="isLoading||alarmTemplateIns.loadingIns.isLoading" ng-click="needValid.valid=true;createTplFrom.$valid&amp;&amp;toCreate()">完成创建</button><span class="txt-error" ng-if="needValid.valid&amp;&amp;createTplFrom.$invalid">存在不合法数据，请修改后提交。</span></span></div></div>